package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保险配置对象 car_insurance
 * 
 * @author ruoyi
 * @date 2024-04-07
 */
public class CarInsurance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险配置id */
    private Long id;

    /** 险种 */
    @Excel(name = "险种")
    private String type;

    /** 保单公司 */
    @Excel(name = "保单公司")
    private String com;

    /** 保险介绍 */
    @Excel(name = "保险介绍")
    private String detail;

    /** 公司logo */
    @Excel(name = "公司logo")
    private String img;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCom(String com) 
    {
        this.com = com;
    }

    public String getCom() 
    {
        return com;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("com", getCom())
            .append("detail", getDetail())
            .append("img", getImg())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
